Platform Explorer / Nuxeo Platform 2023.14

Extension point senders

Documentation

Extension point to register mail senders.

Senders can be configured with properties. For example:

    <sender class="org.nuxeo.mail.SMTPMailSender" name="default">
        <property name="from">foo@bar.baz</property>
        <property name="replyTo">ping@p.org</property>
    </sender>

The class attribute needs to reference a class implementing org.nuxeo.mail.MailSender.

Contribution Descriptors

  • Class: org.nuxeo.mail.MailSenderDescriptor

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-runtime-2023.14.23.jar /opt/nuxeo/server/nxserver/config/default-smtp-sender-config.xml
    <extension point="senders" target="org.nuxeo.mail.MailServiceComponent">
    
        <sender class="org.nuxeo.mail.SMTPMailSender" name="default">
          <property name="mail.from">noreply@nuxeo.com</property>
          <property name="mail.transport.protocol">smtp</property>
          <property name="mail.smtp.host">localhost</property>
          <property name="mail.smtp.port">25</property>
        </sender>
    
      </extension>